# 读取
import json
def read_data(path):
    with open(path,mode='r',encoding='utf-8') as f:
        data=json.load(f)
    return data 
# 写入
def write_data(data_list,path):
    with open(path,mode='w',encoding='utf-8') as f:
        json.dump(data_list,f,ensure_ascii=False)
    